package com.yonyougov.devops.cruxcisupport.rancher;

import lombok.Data;

import java.util.HashMap;

/**
 * 健康检查
 */
@Data
public class LivenessProbe {
    private Integer failureThreshold = 3;
    private Integer initialDelaySeconds = 600;
    private Integer periodSeconds = 60;
    private Integer successThreshold = 1;
    private boolean tcp;
    private Integer timeoutSeconds = 2;
    private String type = "probe";
    private String path;
    private HashMap<String,String> httpHeaders = new HashMap<>();
    private String scheme = "HTTP";
    private String command;
    private String port;
}
